package com.hgcode.wtboot.buider.impl;

import com.alibaba.fastjson.JSONObject;
import com.hgcode.wtboot.buider.AbstraceOrderService;
import org.springframework.stereotype.Service;

@Service(value = "mPosOrderService")
public class MPosOrderServiceImpl extends AbstraceOrderService<JSONObject> {
    @Override
    public JSONObject getData() {
        getCacheData();
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("type","mpos");
        return jsonObject;
    }

    @Override
    public String getCacheKey() {
        return "456";
    }

    @Override
    public Integer getType() {
        return 2;
    }

    @Override
    public Long getExpireTime() {
        return 600L;
    }
}
